package org.seedltd.upms.model.detection.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 订单操作日志数据库对象
 * 
 * @author laizuan
 * @version 1.0
 * @since 2021/07/31
 */
@Getter
@Setter
@TableName("detection_order_log")
public class DetectionOrderLog {

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 操作人
     */
    @TableField(value = "opt_name")
    private String optName;

    /**
     * 操作时间
     */
    @TableField(value = "opt_time")
    private Date optTime;

    /**
     * 订单主键
     */
    @TableField(value = "order_id")
    private Long orderId;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人主键
     */
    @TableField(value = "create_by")
    private Long createBy;
}